<table>

<?php
foreach ($data as $row) {
	echo '<tr>';
	foreach ($row as $field) {
		echo '<td>' . $field . '</td>';
	}
	echo '</tr>';
}
?>

</table>